package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.article.dtos.SensitivePageDto;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.AdSensitive;
import com.heima.model.wemedia.pojos.WmSensitive;
import org.springframework.web.bind.annotation.RequestBody;

public interface SensitiveService extends IService<WmSensitive> {
    /**
     * 查询
     * @param dto
     * @return
     */
    public ResponseResult findAll( SensitivePageDto dto);

    /**
     * 新增
     * @param adSensitive
     * @return
     */
    public ResponseResult newIncreased(AdSensitive adSensitive);

    public void updateSensitive(AdSensitive adSensitive);

    public ResponseResult delSensitive( Integer id);
}
